Anatomy of a Gluon

A gluon consists of connected loops. As in the case of the photon line, the length of a single loop varies between styles and configurations. The syntax for creating a gluon with the command is:

\drawline\gluon[<gluon direction><gluon style>]
       <(x,y), the co-ordinates of the beginning of the gluon>[<number of loops>]
The styles currently available for gluons are:

                                 \REG
                                 \FLIPPED
                                 \CURLY
                                 \FLIPPEDCURLY
                                 \FLAT
                                 \FLIPPEDFLAT
                                 \CENTRAL
                                 \FLIPPEDCENTRAL
                                 \SQUASHEDGLUON

The REG and FLIPPED styles are available in all orientations. The others are available only in the following directions:

                \CURLY:           \N, \S, \E, \W   
                \FLIPPEDCURLY:    \N, \S, \E, \W   
                \CENTRAL:         \N, \S, \E, \W   
                \FLIPPEDCENTRAL:  \N, \S, \E, \W   
                \FLAT:            \E, \W
                \FLIPPEDFLAT:     \E, \W
                \SQUASHEDGLUON:   \E
The differences in style are illustrated in the next subsection. The THICKLINES, THINLINES, thicklines and thinlines options are available in all orientations and styles.


The parameters returned by gluon are analogous to those returned after drawing photons, fermions and scalars:

\gluonfrontx,\gluonfronty:         The (x,y) co-ordinates of the front of the line.
\gluonbackx,\gluonbacky:           The (x,y) co-ordinates of the back of the line.
\gluonlengthx,\gluonlengthy:       The (x,y) extent of the line.
\gluoncount                        The number of gluons printed thus far.
\particlefrontx,\particlefronty:   The (x,y) co-ords of the front of the line.
\particlemidx,\particlemidy:       The (x,y) co-ordinates of the middle of the line.
\particlebackx,\particlebacky:     The (x,y) co-ordinates of the back of the line.
\particlelengthx,\particlelengthy: The (x,y) extent of the line.